import java.util.ArrayList;
import java.util.List;

/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2025/5/19 16:15
 */

public class EnumTest {
    public static void main(String[] args) {
        String str = "今天是周几";
        System.out.println(str+"："+WeekDay.MONDAY.getDescription());
        System.out.println(str+"："+WeekDay.TUESDAY.getIndex());
        System.out.println(str+"："+WeekDay.WEDNESDAY.ordinal());
        //泛型表示integer类型，list集合中所有的数据都是interger类型
        List<Integer> list = new ArrayList<>();
    }
}